package main.flex.business.responder
{
	import main.flex.value.UserListTO;
	
	import mx.controls.Alert;
	import mx.rpc.events.ResultEvent;
	
	public class ConnectUserReponder extends MainBaseResponder
	{
		public function ConnectUserReponder()
		{
			super();
		}
		
		override public function result( data : Object ) : void
		{
			//trace( "data :=> " + data[0] );
			var userTO : UserListTO = new UserListTO( ResultEvent( data ).result as Array );
			getMainModel().user = userTO;
		}		
	}
}